/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.co.servlets.formulas;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


/**
 *
 * @author HORUS793
 */
public class Formulas extends HttpServlet{
    public void respuesta (HttpServletRequest  req, HttpServletResponse res){
        //Variables necesarias para las formulas.
        String IPC = String.valueOf(req.getAttribute("IPC"));
        String abono = String.valueOf(req.getAttribute("abono"));
        String puntos = String.valueOf(req.getAttribute("puntos"));
        String periodo = String.valueOf(req.getAttribute("periodo"));
        String interes = String.valueOf(req.getAttribute("interes"));
        String mesAbono = String.valueOf(req.getAttribute("mesAbono"));
        String gradiente = String.valueOf(req.getAttribute("gradiente"));
        String anualidad = String.valueOf(req.getAttribute("anualidad"));
        String tasaInteres = String.valueOf(req.getAttribute("tasaInteres"));
        String valorFuturo = String.valueOf(req.getAttribute("valorFuturo"));
        String tasaNominal = String.valueOf(req.getAttribute("tasaNominal"));
        String valorNominal = String.valueOf(req.getAttribute("valorNominal"));
        String tasaCombinada = String.valueOf(req.getAttribute("tasaCombinada"));
        String valorEfectivo = String.valueOf(req.getAttribute("valorEfectivo"));
        String tasaPeriodica = String.valueOf(req.getAttribute("tasaPeriodica"));
        String valorPresente = String.valueOf(req.getAttribute("valorPresente"));
        String baseGradiente = String.valueOf(req.getAttribute("baseGradiente"));
        String tasaTributación = String.valueOf(req.getAttribute("tasaTributación"));
        String rentabilidadNeta = String.valueOf(req.getAttribute("rentabilidadNeta"));
        String rentabilidadReal = String.valueOf(req.getAttribute("rentabilidadReal"));
        String tasaNominalAnual = String.valueOf(req.getAttribute("tasaNominalAnual"));
        String tasaEfectivaAnual = String.valueOf(req.getAttribute("tasaEfectivaAnual"));
        String descuentoRacional = String.valueOf(req.getAttribute("descuentoRacional"));
        String descuentoComercial = String.valueOf(req.getAttribute("descuentoComercial"));
        String descuentoCompuesto = String.valueOf(req.getAttribute("descuentoCompuesto"));
        String tasaPeriodicaAnticipada = String.valueOf(req.getAttribute("tasaPeriodicaAnticipada"));
    }
}
